package com.modai.springcloud.entities;

import com.modai.springcloud.service.IMessageService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author ：modai
 * @date ：Created in 2020-12-13 20:24
 * @description：
 */
@RestController
public class SendController {
    @Resource
    private IMessageService messageService;

    @GetMapping(value = "/sendMessage")
    public void sendMessage(){
        messageService.send();
    }
}
